<?php 
	//当天到现在的入店率
	require_once "PF(all)";
	require_once "PF(come)";
	
	/*
	$all=0;
	$come=0;
	if($result_fp_all->num_rows > 0){
		if($row = $result_fp_all->fetch_assoc()){
			$all=$row["count(distinct mac)"];
			}
		}
	if($result_fp_come->num_rows > 0){
		if($row = $result_fp_come->fetch_assoc()){
			$come=$row["count(distinct mac)"];
			}
		}
	*/
	if($all!=0 && $come!=0)
	$PF_rate=round($come/$all,2);
	else
	$PF_rate=0;
?>